var domArea = document.getElementById("container-area");
var myChart = echarts.init(domArea);
var app = {};
var option;
option = {
    title: {
        text: '鱼塘总面积151857.8861亩',
        subtext: '各二级地类面积',
        x:"left"
        // left: 'left',
        // top:"50px"      
    },
    tooltip: {
        trigger: 'item'
    },
    // legend: {
    //     orient: 'level',
    //     left:'left',
    // },
    series: [
        {
            name: 'name',
            type: 'pie',
            radius: '50%',
            data: [
                {value: 151857.886, name: '鱼塘\n151857.8861亩'}
            ],
            // center:["50%","50%"],
            emphasis: {
                itemStyle: {
                    shadowBlur: 10,
                    shadowOffsetX: 0,
                    shadowColor: 'rgba(0, 0, 0, 0.5)'
                }
            }
        }
    ]
};

if (option && typeof option === 'object') {
    myChart.setOption(option);
}